package org.example.test11;

import org.springframework.stereotype.Component;

/**
 * @Author: luyg
 * @Date: 2024/07/04/0:37
 * @Description:
 */
public class User {
	private int id;

	private String name;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "user{" +
				"id=" + id +
				", name='" + name + '\'' +
				'}';
	}
}
